<?php

class Url {

	public static function redirect($url = null){
            header('location: '.DIR.$url);
            exit;
        }

	public static function get_template_path(){
	    return DIR.'templates/'.Session::get('template').'/';
	} 
        
        public static function get_base_path(){
	    return BASE_DIR;
	}
        
        public static function get_public_path(){
	    return BASE_DIR.'/public/';
	} 
}